<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="js/vue.min.js"></script>
    <script src="js/axios.min.js"></script>
</head>
<body>
    <div id="app" >
   
    </div>
    <script>
        var app = new Vue({
            el:"#app",
            data:{
                memberList:[],
                msg:"gqk"
            },
            created(){
                this.getList()
            },
            methods:{
                getList(id){
                    axios.get('data/data.json').then(response =>{
                        console.log(response)
                        this.memberList = response.data.data.items
                    })
                    .catch(error=>{
                        console.log(error)
                    })
                } 
            }
        })
    </script>
</body>
</html>         